﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace nanoCMS.Forum.WebUI.Models.ViewModels
{
    public class ThreadVM
    {
        public int ThreadID { get; set; }
        public int ForumID { get; set; }
        public int ThreadPostID { get; set; }
        [Required]
        public string Title { get; set; }
        [Required]
        public string Description { get; set; }
        public int ViewsCount { get; set; }
        public int PostsCount { get; set; }
        public bool IsClosed { get; set; }

        public int LastPostId { get; set; }
        public DateTime LastPostTime { get; set; }
        public string LastPostUser { get; set; }
    }
}
